CommonsBooking\Service\BookingRuleApplied A

Total Complexity 56
Dependencies 6
Dependents 3
Total lines 329
Lines of code 215
Logical lines of code 103
Comment lines 78
Methods 10
Properties 5

Methods 10

Method Rating Maintainability Complexity Lines of code
init()
B
37 21 77
setAppliedParams()
A
54 8 21
bookingConformsToRules()
A
48 7 36
checkBookingCompliance()
S
56 7 20
validateRules()
S
62 3 13
getArgs()
S
62 3 12
setAppliesToWhat()
S
67 3 7
getRulesJSON()
S
61 2 14
__construct()
S
63 1 12
setExcludedRoles()
S
81 1 3